//
//  LabelView.m
//  03_Work
//
//  Created by dllo on 16/7/18.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "LabelView.h"

@implementation LabelView
+ (UILabel *)labelWithView:(UIView *)view frame:(CGRect)frame labelName:(NSString *)labelName tap:(UITapGestureRecognizer *)tap {
    
    UILabel *label = [[UILabel alloc] initWithFrame:frame];
    label.text = labelName;
    [view addSubview:label];
    label.userInteractionEnabled = YES;
    [label addGestureRecognizer:tap];
    return label;
}



/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
